package com.github.reweber.androidasyncsocketexamples.activity;

import android.app.Activity;
import android.os.Bundle;
import android.widget.LinearLayout;
import android.widget.ListView;

import com.github.reweber.androidasyncsocketexamples.R;
import com.github.reweber.androidasyncsocketexamples.Z_UserInfoDao;
import com.github.reweber.androidasyncsocketexamples.base.DiaoDu_Adapter;
import com.github.reweber.androidasyncsocketexamples.dbbean.Life_UserInfo;

import java.util.List;


import butterknife.BindView;
import butterknife.ButterKnife;

public class JieMian extends Activity {

    @BindView(R.id.lv)
    ListView lv;
    @BindView(R.id.activity_jie_mian)
    LinearLayout activityJieMian;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_jie_mian);
        ButterKnife.bind(this);
        DiaoDu_Adapter diaoDu_adapter=new DiaoDu_Adapter();
        lv.setAdapter(diaoDu_adapter);
        Z_UserInfoDao z_userInfoDao=new Z_UserInfoDao(this);
        List<Life_UserInfo> query = z_userInfoDao.query();
        diaoDu_adapter.addItem(query);

    }

    @Override
    protected void onDestroy() {
        super.onDestroy();

    }


}
